home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
PDriver
/
s
/
PrintrName
< prev
next >
Wrap
Text File
|
1995-08-26
|
1KB
|
30 lines
; #### # # # #
; # # # # # The FreeWare C library for
; # # ## ### # # # # ### RISC OS machines
; # # # # # # # # # # # ___________________________________
; # # #### ### ## # # # #
; # # # # # # # # # # Please refer to the accompanying
; #### ### #### # # ##### # ### documentation for conditions of use
; ________________________________________________________________________
;
; File: Misc.PrintrName.s
; Author: Copyright © 1993 Jason Williams
; Version: 1.00 (22 May 1993)
; Purpose: Calls PDriver_Info, and returns the Printer name, or 0 if no
; printer is installed. (only tested on RO3.10)
GET ^.h.regdefs
GET ^.h.swinos
GET ^.h.macros
PREAMBLE
STARTCODE PDriver_PrinterName
;
STMFD sp!, {r1-r6, lr}
SWI SWI_PDriver_Info + XOS_Bit
MOVVS r0, #0
MOVVC r0, r4
LDMFD sp!, {r1-r6, pc}^
;
END